package com.student.service;

import com.student.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @author 是一个鸽子啊
 * @date 2020/4/14
 * @qq 364826415
 */
public interface UserService {
    User loginUser(@Param("userName") String userName, @Param("userPassword") String userPassword);
    List<User> queryUserList();
    int updateUser(User user);
    List<User> queryUserByUserRname(@Param("userRname") String userRname);
    int addUser(User user);
    User queryUserByUserName(@Param("userName") String userName);
    int delUser(@Param("userID") String userID);
    User queryUserByID(@Param("userID") int userID);

}
